﻿namespace ApiTemplate.Application
{
    /// <summary>
    /// 通用的应用方法
    /// </summary>
    public class CommonApplication : BaseApplication, ICommonApplication
    {
        /// <summary>
        /// 通用的数据访问层
        /// </summary>
        public ICommonDAL CommonDAL { get; set; }

        /// <summary>
        /// 初始化数据库
        /// </summary>
        /// <exception cref="NotImplementedException"></exception>
        public void InitDataTable()
        {
            CommonDAL.InitDataTable();
        }
    }
}
